<?php
declare(strict_types=1);

namespace App\Common\Demand\Server;

//工具服务接口类
interface Utils
{
     //success function
     public function lxSuccessReturn(string  $msg,array $data=[]):array;
     //error function
     public function lxErrorReturn(string $msg,int $code,array $data=[]):array ;
     public function getSortData($field,$sortType,$model): array;
     public function getPageLimitData($page,$limit): array;
}